
package com.nhc.srtm;

import android.graphics.Point;

import com.astrob.model.LonLat;

import java.io.Serializable;

public class SrtmData implements Serializable {

    public double alt = 0;//海拔高度
    public double scale = 0;//显示的比例尺

    public Point xy = new Point();//屏幕像素点
    public LonLat ll = new LonLat();

    public int aalt = 0;//20米间隔

    private final double MAPSCALE[] = {
            10.0, 50.0, 125.0, 250.0, 500.0,
            1000.0, 2500.0, 5000.0, 10000.0, 25000.0,
            50000.0, 100000.0, 150000.0, 200000.0, 400000.0};

    public SrtmData() {
        //default
    }

    public SrtmData(Point xy, LonLat ll, double alt, double scale) {
        //default
        this.ll = ll;
        this.alt = alt;
        this.scale = scale;
        this.xy = xy;
    }

}
